<template>
  <div>
    <van-list v-model="loading" :finished="finished" finished-text="没有更多了" @load="onLoad">
      <van-cell @click="input(item)" v-for="item in listdata" :key="item" :title="item" />
    </van-list>
  </div>
</template>

<script>
export default {
  props: ["listdata"],
  data() {
    return {
      list: [1, 2, 3, 4, 5, 6],
      loading: false,
      finished: false
    };
  },
  methods: {
    input(item) {
      // console.log(item);
      this.$emit("zidingyi", item);
    },
    onLoad() {}
  },
  components: {}
};
</script>

<style lang='less'  scoped>
</style>
